<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .left{
            width: 300px;
            height: 300px;
            float: left;
            background-color: blueviolet;
        }
        .right{
            height: 300px;
            overflow: hidden;
            background-color: bisque;
        }
    </style>
</head>
<body>
    <!-- float + overflow属性配合使用 -->
    <div class="parent">
        <div class="left">左边定宽</div>
        <div class="right">右边自适应</div>
    </div>
    <!-- display属性的table相关值的应用 -->
</body>
</html>